package com.lmx.wuzhangshao;

import android.content.SharedPreferences;

import com.lmx.wuzhangshao.util.LogUtil;

import cn.bmob.v3.Bmob;

/**
 * @author Leung
 * @date 2020/7/27 18:03
 */
public class MyApplication extends android.app.Application {

    private static MyApplication mApp;

    public static MyApplication getInstance() {
       return mApp;
   }

    @Override
    public void onCreate() {
        super.onCreate();
        mApp = this;

        // bmob后端云初始化
        Bmob.initialize(this, "fdddd10b2831c2058a09c17d8adc2756");

        // 开启Log
        LogUtil.setDebug(true);
    }

}
